// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from '@/App';
import VueClipboard from 'vue-clipboard2';
import i18n from '@/i18n';
import {
    Range,
    DatetimePicker,
    InfiniteScroll
} from 'mint-ui';
import {
    vueRouter as router
} from './router';
import Zxui from 'zx-ui';
import {
    store
} from '@/store';
import directive from '@/directive';
import {
    Filter
} from '@/filter';
import '@/assets/sass/reset.css';
import 'zx-ui/lib/zxhuan.css';
import '@/providers/flexible.js';
import 'mint-ui/lib/style.css';
import noDataComponent from '@/components/no-data';
Vue.use(InfiniteScroll);
// Vue.use(Zxhuan);
// vscode  正则匹配
// \{\{\$t\((.+?)\)\}\}
Vue.use(Zxui);
Vue.use(VueClipboard);
Vue.component(Range.name, Range);
Vue.component(DatetimePicker.name, DatetimePicker);
Vue.component(noDataComponent.name, noDataComponent);
Vue.config.productionTip = false;
/* eslint-disable no-new */
export default new Vue({
    el: '#app',
    router,
    i18n,
    store,
    Filter,
    directive,
    components: {
        App
    },
    template: '<App/>'
});